﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Index.Master" AutoEventWireup="true" CodeBehind="home_Iorder.aspx.cs" Inherits="Dryricenet.home_Iorder" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="CSS/order.css" rel="stylesheet" />
    <style>
        body {
            color:#f4f4f4;
        }
        .hs {
            background:#fec700;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="heading">
        <div>
            <p>订单</p>
            <h3>我的订单:<span style="color:#fec700">未支付的订单24小时消失</span></h3>
            <div class="heading_neir">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100%" EmptyDataText="未查询到数据" Font-Size="13px" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" BackColor="White" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4">
                    <Columns>
                        <asp:BoundField DataField="OrderID" HeaderText="订单ID" Visible="False">
                            <HeaderStyle BorderStyle="Dotted" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Ordertitle" HeaderText="订单号">
                            <HeaderStyle Height="40px" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Height="60px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="OrderName" HeaderText="姓名">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Phone" HeaderText="电话">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Pay" HeaderText="订单金额">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Zf" HeaderText="是否支付">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Fh" HeaderText="是否发货">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Sh" HeaderText="是否收货">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="PayName" HeaderText="支付方式">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Address" HeaderText="订单地址">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="216px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Logistics" HeaderText="物流信息">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Note" HeaderText="备注">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Time" HeaderText="下单时间">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="操作">
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            <ItemTemplate>
                                <a href='home_Pay.aspx?ordertitle=<%#DataBinder.Eval(Container.DataItem,"Ordertitle") %>&sum=<%#DataBinder.Eval(Container.DataItem,"Pay") %>' class="details_a">支付</a>
                                <a href='home_Receivegoods.aspx?orderid=<%#DataBinder.Eval(Container.DataItem,"OrderID") %>' onclick='return confirm("是否确认收货")' class="details_a">确认收货</a>
                                <a href='home_Orderview.aspx?orderid=<%#DataBinder.Eval(Container.DataItem,"OrderID") %>' class="details_a">订单项查看</a>
                                <a href='home_Orderdelete.aspx?orderid=<%#DataBinder.Eval(Container.DataItem,"OrderID") %>' onclick="return confirm('确定要删除？')" class="details_a">删除</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" CssClass="sh" />
                    <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
                    <RowStyle BackColor="White" ForeColor="#330099" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
                    <SortedAscendingCellStyle BackColor="#FEFCEB" />
                    <SortedAscendingHeaderStyle BackColor="#AF0101" />
                    <SortedDescendingCellStyle BackColor="#F6F0C0" />
                    <SortedDescendingHeaderStyle BackColor="#7E0000" />
                </asp:GridView>

            </div>
        </div>
    </div>
</asp:Content>
